package com.kws.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.SysDeliveryAddress;
import com.kws.system.domain.info.QueryDeliveryAddressInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDeliveryAddressMapper extends BaseMapper<SysDeliveryAddress> {
    Page<QueryDeliveryAddressInfo> queryDeliveryAddressPage(@Param("page") Page<QueryDeliveryAddressInfo> page, @Param("consigneeName") String consigneeName);

    QueryDeliveryAddressInfo queryDeliveryAddressById(@Param("id") Long id);
}
